{% extends "../base_adminlte.html" %}

{% block content %}
<div class="content-wrapper">
  <!-- Content Header (Page header) -->
    <div class="content-header">
    </div>

  <section class="content">
      <form  action="{% url 'systemsadd' %}" method="post">
            <table style="border-collapse:separate; border-spacing: 0px 10px;
            margin-left: 20%;margin-top:10%;align-content: center;">
            <tr style="height: 10px">
                    <td>系统</td>
                    <td><input type="text" name="systemname"  >
                       <label>*必填项</label>
                  </td>
                </tr>
                <tr style="height: 10px">
                    <td>所属主系统</td>
                    <td><input type="text" name="supersystem"  >

                  </td>
                </tr>
                <tr style="height: 10px">
                    <td>网络/系统类型</td>
                    <td><input type="text" name="network_system_type" >

                  </td>
                </tr>
                <tr style="height: 10px">
                    <td>所属部门</td>
                    <td><input type="text" name="department" >

                  </td>
                </tr>
                <tr>
                    <td>描述</td>
                    <td><textarea type="text" id="info" class="form-control" cols="60" rows="3" name="remark" ></textarea>
                       <label>*必填项</label>
                  </td>
                </tr>
                <tr>
                    <td>社会影响力等级</td>
                   <td><input type="text" name="social_influence_value"  >

                  </td>
                </tr>
                <tr>
                    <td>社会影响力赋值依据</td>
                    <td><textarea type="text" id="info" class="form-control" cols="60" rows="3" name="social_influence_basis" ></textarea>

                  </td>
                </tr>
                <tr>
                    <td>规模和服务范围等级</td>
                    <td><input type="text" name="scale_service_scope_value"   >

                  </td>
                </tr>
                <tr>
                    <td>规模和服务范围赋值依据</td>
                    <td><textarea type="text" id="info" class="form-control" cols="60" rows="3" name="scale_service_scope_basis" ></textarea>

                  </td>
                </tr>
                <tr>
                    <td>所提供服务重要性等级</td>
                    <td><input type="text" name="service_important_value"  >

                  </td>
                </tr>
                <tr>
                    <td>所提供服务重要性赋值依据</td>
                    <td><textarea type="text" id="info" class="form-control" cols="60" rows="3" name="service_important_basis" ></textarea>

                  </td>
                </tr>
                <tr>
                    <td>安全等级值</td>
                    <td><input type="text" name="security_level_value"   >
                  </td>
                </tr>
                <tr>
                    <td>安全等级</td>
                   <td><input type="text" name="security_level" >
                  </td>
                </tr>
                <tr>
                    <td>控制主机ip</td>
                    <td><input type="text" name="control_host" >
                       <label>*必填项</label>
                  </td>
                </tr>
                <tr>
                    <td>agent用户</td>
                    <td><input type="text" name="agent_user"  >
                       <label>*必填项</label>
                  </td>
                </tr>
                <tr>
                    <td>agent密码</td>
                    <td><input type="password" name="agent_pass"  >
                       <label>*必填项</label>
                  </td>
                </tr>
                <tr>
                    <td>ssh用户</td>
                    <td><input type="text" name="ssh_user"  >
                    <label>*必填项</label>
                  </td>
                </tr>
                <tr>
                    <td>ssh密码</td>
                    <td><input type="password" name="ssh_pass"  >
                   <label>*必填项</label>
                  </td>
                </tr>
                 <tr>
                    <td>任务名</td>
                    <td><input type="text" name="task"  >
                       <label>*必填项</label>
                  </td>
                <tr>
                <tr>
                    <td></td>
                    <td ><input type="submit" value="提交" >
                    <button style="margin-left: 10%" onclick="location.href='/ansible/systemslist'" type="button" value="取消" >取消</button></td>
                 </tr>
            </table>
    </form>
  </section>
</div>
{% endblock %}
